package com.ten.course.service;

import com.ten.common.core.entity.EduVideo;
import com.ten.common.core.vo.Result;

import java.util.List;

/**
 * @author ：张成（3092211427@qq.com）
 * @date ：Created in 2022/12/22 12:00
 * @description：
 * @modified By：
 * @version:
 */
public interface CourseVideoService {
    Result<List<EduVideo>> findAllVideo(String chapterId);

    Result insertVideo(EduVideo eduVideo);

    Result updateVideo(EduVideo eduVideo);

    Result deleteById(String id, Integer sort, String chapterId);

    Result<List<EduVideo>> queryAllVideoByCourseId(String courseId);
}